package com.yz.controller;

import com.yz.entity.Admin;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class AdminController {

    @RequestMapping("/login.action")
    public void login(Admin admin){
        System.out.println(admin.getAdminName() + "---->" + admin.getAdminPassword());
    }
}
